
// 创建解析器的语法
// const 变量 = multer({ dest: '文件存储目录' })

function uploadfile(req,res){
    // console.log('888',req.file)
    res.send({
        code:1,
        info:req.file,
        desc:req.files,
        body:req.body,
        link:'/'+req.file.path
    })
}


module.exports = {
    uploadfile
}